how to run javascript in the terminal